package com.tentative.competition.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tentative.competition.common.core.result.PageResult;
import com.tentative.competition.common.model.schedule.param.BannerInfoAddParam;
import com.tentative.competition.common.model.schedule.param.BannerStatusEditParam;
import com.tentative.competition.common.model.schedule.resp.BannerInfoResp;
import com.tentative.competition.common.model.schedule.resp.BannerResp;
import com.tentative.competition.schedule.domain.ScheduleBannerInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SmileH
 * @since 2023-06-22
 */
public interface ScheduleBannerInfoService extends IService<ScheduleBannerInfo> {

    PageResult<BannerInfoResp> pageList(BannerInfoAddParam param);

    BannerInfoResp getInfo(Long id);

    void addOrEdit(BannerInfoAddParam param);

    Boolean deleteOrgInfo(List<Long> ids);

    Boolean editStatus(BannerStatusEditParam param);

    List<BannerResp> getBannerInfoByType(String bannerType,Long scheduleId);
}
